﻿using System;
using System.Windows.Forms;

namespace Onshi.POS.Formularios.Recursos
{
    public class HoraBase : DateTimePicker
    {
        #region Constructores

        public HoraBase()
            : base()
        {
            this.HandleCreated += new EventHandler(HoraBase_HandleCreated);
        }

        #endregion

        #region Eventos

        void HoraBase_HandleCreated(object sender, EventArgs e)
        {
            this.Format = DateTimePickerFormat.Time;
            this.ShowUpDown = true;
        }
        
        #endregion
    }
}
